package com.example.androiddefender;

import android.os.Bundle;
import android.app.Activity;
import android.util.Log;
import android.view.Menu;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.LinearLayout;

public class MainActivity extends Activity {

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.home_screen_metro);
		LinearLayout btnInstallDevice = (LinearLayout)findViewById(R.id.btnInstallDevice);
		btnInstallDevice.setOnClickListener(new OnClickListener() {
			
			@Override
			public void onClick(View arg0) {
				// TODO Auto-generated method stub
				Log.i("a", "a");
			}
		});
		LinearLayout btnInstallProfile = (LinearLayout)findViewById(R.id.btnInstallProfile);
		btnInstallProfile.setOnClickListener(new OnClickListener() {
			
			@Override
			public void onClick(View arg0) {
				// TODO Auto-generated method stub
				Log.i("b", "b");
			}
		});
		LinearLayout btnReport = (LinearLayout)findViewById(R.id.btnReport);
		btnReport.setOnClickListener(new OnClickListener() {
			
			@Override
			public void onClick(View arg0) {
				// TODO Auto-generated method stub
				Log.i("b", "b");
			}
		});
		LinearLayout btnGuide = (LinearLayout)findViewById(R.id.btnGuide);
		btnGuide.setOnClickListener(new OnClickListener() {
			
			@Override
			public void onClick(View arg0) {
				// TODO Auto-generated method stub
				Log.i("b", "b");
			}
		});
	}

	@Override
	public boolean onCreateOptionsMenu(Menu menu) {
		// Inflate the menu; this adds items to the action bar if it is present.
		getMenuInflater().inflate(R.menu.main, menu);
		return true;
	}
}
